import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';

export default async function a006(fd: IFeidaoAiBrowserComponent) {
	// todo
	const c = fd.data.node.querySelector<HTMLInputElement>('[data-id="allq"]');
	const d = c.checked;
	const cc = fd.data.node.querySelectorAll<HTMLInputElement>('[data-id="listq"]')
	Array.from(cc).forEach((value: HTMLInputElement) => {
		value.checked = d;
	});
}
